<#assign modelName=table.modelName>
<#assign idTypeName=table.idColumn.javaType.simpleName>
<#assign mapperName='BaseMapper'>
<#-- package -->
package com.github.freegeese.maven.plugin.autocode.demo.mapper;

import org.springframework.stereotype.Repository;
<#if table.modelType??>
    <#if table.modelType.type=="Sortable">
        <#assign mapperName='SortableMapper'>
    <#elseif table.modelType.type=="Treeable">
        <#assign mapperName='TreeableMapper'>
    </#if>
</#if>
import com.github.freegeese.maven.plugin.autocode.demo.base.${mapperName};
import com.github.freegeese.maven.plugin.autocode.demo.model.${modelName};

@Repository
public interface ${modelName}Mapper extends ${mapperName}<${modelName}, ${idTypeName}> {
}